package com.zhoujing.springsecurity.service;

import com.zhoujing.springsecurity.dto.ResponseResult;
import com.zhoujing.springsecurity.pojo.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.catalina.User;

/**
* @author FanGccU
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2022-03-07 14:40:05
*/
public interface SysUserService extends IService<SysUser> {

    /**
     * 登录
     * @param user
     * @return
     */
    ResponseResult login(SysUser user);

    /**
     * 退出登录
     */
    ResponseResult logout();
}
